package com.example.cc.server.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author wsy
 * @since 2025-01-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("cc_configuration_versions")
@ApiModel(value="配置版本", description="")
public class ConfigurationVersions implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "版本唯一标识")
    @TableId(value = "version_id", type = IdType.AUTO)
    private Long versionId;

    @ApiModelProperty(value = "配置项ID")
    private Long configId;

    @ApiModelProperty(value = "版本号")
    private Integer version;

    @ApiModelProperty(value = "配置值")
    private String value;

    @ApiModelProperty(value = "更改者")
    private String changedBy;

    @ApiModelProperty(value = "变更时间")
    private LocalDateTime changeTime;

    @ApiModelProperty(value = "变更描述")
    private String description;


}
